from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1262028241.9649999
_template_filename='D:\\Pylons\\pglite\\pglite\\templates/base.mako'
_template_uri='/base.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = ['styleLinks']


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        self = context.get('self', UNDEFINED)
        next = context.get('next', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\n    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >\n  <head>\n    <title>pgLite</title>\n    ')
        # SOURCE LINE 7
        __M_writer(escape(self.styleLinks()))
        __M_writer(u'')
        # SOURCE LINE 8
        __M_writer(u'  </head>\n  <body>\n    <div id="header">\n     <p>Title</p>\n    </div>\n    <div id="content">\n     ')
        # SOURCE LINE 14
        __M_writer(escape(next.body()))
        __M_writer(u'\n    </div>\n    <div id="footer">\n     <p>Thibault Falise - 2009 - Contact - Informations</p>\n    </div>\n  </body>\n</html>\n\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_styleLinks(context):
    context.caller_stack._push_frame()
    try:
        h = context.get('h', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 22
        __M_writer(u'')
        # SOURCE LINE 23
        __M_writer(escape(h.stylesheet_link('/css/main.css')))
        __M_writer(u'\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


